QUERY

get_account_auth_descriptor_by_id

@mount("ft4.get_account_auth_descriptor_by_id") query get_account_auth_descriptor_by_id(account_id: byte_array, id: byte_array): (id: byte_array, account_id: byte_array, auth_type: auth_type, args: gtv, rules: gtv, created: integer)

Retrieves an auth descriptor from an account.

Throws an error if no auth descriptor matches the provided arguments. Common cases include:

  • the account id or auth descriptor id was not found
  • the auth descriptor in question was not found on the account in question

Parameters

  • account_id — id of the account where the auth descriptor is associated
  • id — id of the auth descriptor to fetch
© 2024 Chromia